
#include "nx_api.h"

#ifdef __PRODUCT_NETXDUO__

#include "netx_mdns_test.h"

/* Frame (76 bytes) */
static const unsigned char pkt1[76] = {
0x01, 0x00, 0x5e, 0x00, 0x00, 0xfb, 0x00, 0x0c, /* ..^..... */
0x29, 0x01, 0xd4, 0x8d, 0x08, 0x00, 0x45, 0x00, /* ).....E. */
0x00, 0x3e, 0x00, 0x00, 0x40, 0x00, 0xff, 0x11, /* .>..@... */
0x90, 0xb2, 0x0a, 0x00, 0x00, 0x01, 0xe0, 0x00, /* ........ */
0x00, 0xfb, 0x14, 0xe9, 0x14, 0xe9, 0x00, 0x2a, /* .......* */
0xe3, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, /* ........ */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x5f, /* ......._ */
0x68, 0x74, 0x74, 0x70, 0x04, 0x5f, 0x74, 0x63, /* http._tc */
0x70, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x00, /* p.local. */
0x00, 0x0c, 0x00, 0x01                          /* .... */
};

/* Frame (554 bytes) */
static const unsigned char pkt2[554] = {
0x01, 0x00, 0x5e, 0x00, 0x00, 0xfb, 0x00, 0x11, /* ..^..... */
0x22, 0x33, 0x44, 0x57, 0x08, 0x00, 0x45, 0x00, /* "3DW..E. */
0x02, 0x1c, 0x00, 0x07, 0x40, 0x00, 0xff, 0x11, /* ....@... */
0x8e, 0x8c, 0x0a, 0x00, 0x00, 0x42, 0xe0, 0x00, /* .....B.. */
0x00, 0xfb, 0x14, 0xe9, 0x14, 0xe9, 0x02, 0x08, /* ........ */
0x00, 0x93, 0x00, 0x00, 0x84, 0x00, 0x00, 0x00, /* ........ */
0x00, 0x01, 0x00, 0x00, 0x00, 0x05, 0x05, 0x5f, /* ......._ */
0x68, 0x74, 0x74, 0x70, 0x04, 0x5f, 0x74, 0x63, /* http._tc */
0x70, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x00, /* p.local. */
0x00, 0x0c, 0x00, 0x01, 0x00, 0x00, 0x00, 0x64, /* .......d */
0x00, 0x41, 0x2e, 0x30, 0x33, 0x20, 0x53, 0x69, /* .A.03 Si */
0x6d, 0x70, 0x6c, 0x65, 0x20, 0x57, 0x65, 0x62, /* mple Web */
0x20, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, /*  Server  */
0x54, 0x65, 0x73, 0x74, 0x20, 0x46, 0x6f, 0x72, /* Test For */
0x20, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, /*  Multipl */
0x65, 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, /* e Packet */
0x73, 0x05, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x04, /* s._http. */
0x5f, 0x74, 0x63, 0x70, 0x05, 0x6c, 0x6f, 0x63, /* _tcp.loc */
0x61, 0x6c, 0x00, 0x0b, 0x41, 0x52, 0x4d, 0x4d, /* al..ARMM */
0x44, 0x4e, 0x53, 0x54, 0x65, 0x73, 0x74, 0x05, /* DNSTest. */
0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x00, 0x00, 0x01, /* local... */
0x80, 0x01, 0x00, 0x00, 0x00, 0x78, 0x00, 0x04, /* .....x.. */
0x0a, 0x00, 0x00, 0x42, 0x0b, 0x41, 0x52, 0x4d, /* ...B.ARM */
0x4d, 0x44, 0x4e, 0x53, 0x54, 0x65, 0x73, 0x74, /* MDNSTest */
0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x00, 0x00, /* .local.. */
0x2f, 0x80, 0x01, 0x00, 0x00, 0x00, 0x78, 0x00, /* /.....x. */
0x16, 0x0b, 0x41, 0x52, 0x4d, 0x4d, 0x44, 0x4e, /* ..ARMMDN */
0x53, 0x54, 0x65, 0x73, 0x74, 0x05, 0x6c, 0x6f, /* STest.lo */
0x63, 0x61, 0x6c, 0x00, 0x00, 0x01, 0x40, 0x2e, /* cal...@. */
0x30, 0x33, 0x20, 0x53, 0x69, 0x6d, 0x70, 0x6c, /* 03 Simpl */
0x65, 0x20, 0x57, 0x65, 0x62, 0x20, 0x53, 0x65, /* e Web Se */
0x72, 0x76, 0x65, 0x72, 0x20, 0x54, 0x65, 0x73, /* rver Tes */
0x74, 0x20, 0x46, 0x6f, 0x72, 0x20, 0x4d, 0x75, /* t For Mu */
0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x20, 0x50, /* ltiple P */
0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x05, 0x5f, /* ackets._ */
0x68, 0x74, 0x74, 0x70, 0x04, 0x5f, 0x74, 0x63, /* http._tc */
0x70, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x00, /* p.local. */
0x00, 0x21, 0x80, 0x01, 0x00, 0x00, 0x00, 0x64, /* .!.....d */
0x00, 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, /* .......P */
0x0b, 0x41, 0x52, 0x4d, 0x4d, 0x44, 0x4e, 0x53, /* .ARMMDNS */
0x54, 0x65, 0x73, 0x74, 0x05, 0x6c, 0x6f, 0x63, /* Test.loc */
0x61, 0x6c, 0x00, 0x2e, 0x30, 0x33, 0x20, 0x53, /* al..03 S */
0x69, 0x6d, 0x70, 0x6c, 0x65, 0x20, 0x57, 0x65, /* imple We */
0x62, 0x20, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, /* b Server */
0x20, 0x54, 0x65, 0x73, 0x74, 0x20, 0x46, 0x6f, /*  Test Fo */
0x72, 0x20, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, /* r Multip */
0x6c, 0x65, 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, /* le Packe */
0x74, 0x73, 0x05, 0x5f, 0x68, 0x74, 0x74, 0x70, /* ts._http */
0x04, 0x5f, 0x74, 0x63, 0x70, 0x05, 0x6c, 0x6f, /* ._tcp.lo */
0x63, 0x61, 0x6c, 0x00, 0x00, 0x10, 0x80, 0x01, /* cal..... */
0x00, 0x00, 0x00, 0x64, 0x00, 0x01, 0x00, 0x2e, /* ...d.... */
0x30, 0x33, 0x20, 0x53, 0x69, 0x6d, 0x70, 0x6c, /* 03 Simpl */
0x65, 0x20, 0x57, 0x65, 0x62, 0x20, 0x53, 0x65, /* e Web Se */
0x72, 0x76, 0x65, 0x72, 0x20, 0x54, 0x65, 0x73, /* rver Tes */
0x74, 0x20, 0x46, 0x6f, 0x72, 0x20, 0x4d, 0x75, /* t For Mu */
0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x20, 0x50, /* ltiple P */
0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x05, 0x5f, /* ackets._ */
0x68, 0x74, 0x74, 0x70, 0x04, 0x5f, 0x74, 0x63, /* http._tc */
0x70, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x00, /* p.local. */
0x00, 0x2f, 0x80, 0x01, 0x00, 0x00, 0x00, 0x78, /* ./.....x */
0x00, 0x48, 0x2e, 0x30, 0x33, 0x20, 0x53, 0x69, /* .H.03 Si */
0x6d, 0x70, 0x6c, 0x65, 0x20, 0x57, 0x65, 0x62, /* mple Web */
0x20, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, /*  Server  */
0x54, 0x65, 0x73, 0x74, 0x20, 0x46, 0x6f, 0x72, /* Test For */
0x20, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, /*  Multipl */
0x65, 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, /* e Packet */
0x73, 0x05, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x04, /* s._http. */
0x5f, 0x74, 0x63, 0x70, 0x05, 0x6c, 0x6f, 0x63, /* _tcp.loc */
0x61, 0x6c, 0x00, 0x00, 0x05, 0x00, 0x00, 0x80, /* al...... */
0x00, 0x40                                      /* .@ */
};

/* Frame (1471 bytes) */
static const unsigned char pkt3[1471] = {
0x01, 0x00, 0x5e, 0x00, 0x00, 0xfb, 0x00, 0x11, /* ..^..... */
0x22, 0x33, 0x44, 0x57, 0x08, 0x00, 0x45, 0x00, /* "3DW..E. */
0x05, 0xb1, 0x00, 0x08, 0x40, 0x00, 0xff, 0x11, /* ....@... */
0x8a, 0xf6, 0x0a, 0x00, 0x00, 0x42, 0xe0, 0x00, /* .....B.. */
0x00, 0xfb, 0x14, 0xe9, 0x14, 0xe9, 0x05, 0x9d, /* ........ */
0xd6, 0x19, 0x00, 0x00, 0x02, 0x00, 0x00, 0x01, /* ........ */
0x00, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x05, 0x5f, /* ......._ */
0x68, 0x74, 0x74, 0x70, 0x04, 0x5f, 0x74, 0x63, /* http._tc */
0x70, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x00, /* p.local. */
0x00, 0x0c, 0x00, 0x01, 0x05, 0x5f, 0x68, 0x74, /* ....._ht */
0x74, 0x70, 0x04, 0x5f, 0x74, 0x63, 0x70, 0x05, /* tp._tcp. */
0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x00, 0x00, 0x0c, /* local... */
0x00, 0x01, 0x00, 0x00, 0x11, 0x93, 0x00, 0x41, /* .......A */
0x2e, 0x30, 0x31, 0x20, 0x53, 0x69, 0x6d, 0x70, /* .01 Simp */
0x6c, 0x65, 0x20, 0x57, 0x65, 0x62, 0x20, 0x53, /* le Web S */
0x65, 0x72, 0x76, 0x65, 0x72, 0x20, 0x54, 0x65, /* erver Te */
0x73, 0x74, 0x20, 0x46, 0x6f, 0x72, 0x20, 0x4d, /* st For M */
0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x20, /* ultiple  */
0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x05, /* Packets. */
0x5f, 0x68, 0x74, 0x74, 0x70, 0x04, 0x5f, 0x74, /* _http._t */
0x63, 0x70, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, /* cp.local */
0x00, 0x05, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x04, /* .._http. */
0x5f, 0x74, 0x63, 0x70, 0x05, 0x6c, 0x6f, 0x63, /* _tcp.loc */
0x61, 0x6c, 0x00, 0x00, 0x0c, 0x00, 0x01, 0x00, /* al...... */
0x00, 0x11, 0x93, 0x00, 0x41, 0x2e, 0x31, 0x36, /* ....A.16 */
0x20, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x20, /*  Simple  */
0x57, 0x65, 0x62, 0x20, 0x53, 0x65, 0x72, 0x76, /* Web Serv */
0x65, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x20, /* er Test  */
0x46, 0x6f, 0x72, 0x20, 0x4d, 0x75, 0x6c, 0x74, /* For Mult */
0x69, 0x70, 0x6c, 0x65, 0x20, 0x50, 0x61, 0x63, /* iple Pac */
0x6b, 0x65, 0x74, 0x73, 0x05, 0x5f, 0x68, 0x74, /* kets._ht */
0x74, 0x70, 0x04, 0x5f, 0x74, 0x63, 0x70, 0x05, /* tp._tcp. */
0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x00, 0x05, 0x5f, /* local.._ */
0x68, 0x74, 0x74, 0x70, 0x04, 0x5f, 0x74, 0x63, /* http._tc */
0x70, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x00, /* p.local. */
0x00, 0x0c, 0x00, 0x01, 0x00, 0x00, 0x11, 0x93, /* ........ */
0x00, 0x41, 0x2e, 0x31, 0x35, 0x20, 0x53, 0x69, /* .A.15 Si */
0x6d, 0x70, 0x6c, 0x65, 0x20, 0x57, 0x65, 0x62, /* mple Web */
0x20, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, /*  Server  */
0x54, 0x65, 0x73, 0x74, 0x20, 0x46, 0x6f, 0x72, /* Test For */
0x20, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, /*  Multipl */
0x65, 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, /* e Packet */
0x73, 0x05, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x04, /* s._http. */
0x5f, 0x74, 0x63, 0x70, 0x05, 0x6c, 0x6f, 0x63, /* _tcp.loc */
0x61, 0x6c, 0x00, 0x05, 0x5f, 0x68, 0x74, 0x74, /* al.._htt */
0x70, 0x04, 0x5f, 0x74, 0x63, 0x70, 0x05, 0x6c, /* p._tcp.l */
0x6f, 0x63, 0x61, 0x6c, 0x00, 0x00, 0x0c, 0x00, /* ocal.... */
0x01, 0x00, 0x00, 0x11, 0x93, 0x00, 0x41, 0x2e, /* ......A. */
0x31, 0x33, 0x20, 0x53, 0x69, 0x6d, 0x70, 0x6c, /* 13 Simpl */
0x65, 0x20, 0x57, 0x65, 0x62, 0x20, 0x53, 0x65, /* e Web Se */
0x72, 0x76, 0x65, 0x72, 0x20, 0x54, 0x65, 0x73, /* rver Tes */
0x74, 0x20, 0x46, 0x6f, 0x72, 0x20, 0x4d, 0x75, /* t For Mu */
0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x20, 0x50, /* ltiple P */
0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x05, 0x5f, /* ackets._ */
0x68, 0x74, 0x74, 0x70, 0x04, 0x5f, 0x74, 0x63, /* http._tc */
0x70, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x00, /* p.local. */
0x05, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x04, 0x5f, /* ._http._ */
0x74, 0x63, 0x70, 0x05, 0x6c, 0x6f, 0x63, 0x61, /* tcp.loca */
0x6c, 0x00, 0x00, 0x0c, 0x00, 0x01, 0x00, 0x00, /* l....... */
0x11, 0x93, 0x00, 0x41, 0x2e, 0x30, 0x38, 0x20, /* ...A.08  */
0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x20, 0x57, /* Simple W */
0x65, 0x62, 0x20, 0x53, 0x65, 0x72, 0x76, 0x65, /* eb Serve */
0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x20, 0x46, /* r Test F */
0x6f, 0x72, 0x20, 0x4d, 0x75, 0x6c, 0x74, 0x69, /* or Multi */
0x70, 0x6c, 0x65, 0x20, 0x50, 0x61, 0x63, 0x6b, /* ple Pack */
0x65, 0x74, 0x73, 0x05, 0x5f, 0x68, 0x74, 0x74, /* ets._htt */
0x70, 0x04, 0x5f, 0x74, 0x63, 0x70, 0x05, 0x6c, /* p._tcp.l */
0x6f, 0x63, 0x61, 0x6c, 0x00, 0x05, 0x5f, 0x68, /* ocal.._h */
0x74, 0x74, 0x70, 0x04, 0x5f, 0x74, 0x63, 0x70, /* ttp._tcp */
0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x00, 0x00, /* .local.. */
0x0c, 0x00, 0x01, 0x00, 0x00, 0x11, 0x93, 0x00, /* ........ */
0x41, 0x2e, 0x31, 0x34, 0x20, 0x53, 0x69, 0x6d, /* A.14 Sim */
0x70, 0x6c, 0x65, 0x20, 0x57, 0x65, 0x62, 0x20, /* ple Web  */
0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, 0x54, /* Server T */
0x65, 0x73, 0x74, 0x20, 0x46, 0x6f, 0x72, 0x20, /* est For  */
0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, /* Multiple */
0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, /*  Packets */
0x05, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x04, 0x5f, /* ._http._ */
0x74, 0x63, 0x70, 0x05, 0x6c, 0x6f, 0x63, 0x61, /* tcp.loca */
0x6c, 0x00, 0x05, 0x5f, 0x68, 0x74, 0x74, 0x70, /* l.._http */
0x04, 0x5f, 0x74, 0x63, 0x70, 0x05, 0x6c, 0x6f, /* ._tcp.lo */
0x63, 0x61, 0x6c, 0x00, 0x00, 0x0c, 0x00, 0x01, /* cal..... */
0x00, 0x00, 0x11, 0x93, 0x00, 0x41, 0x2e, 0x31, /* .....A.1 */
0x32, 0x20, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, /* 2 Simple */
0x20, 0x57, 0x65, 0x62, 0x20, 0x53, 0x65, 0x72, /*  Web Ser */
0x76, 0x65, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, /* ver Test */
0x20, 0x46, 0x6f, 0x72, 0x20, 0x4d, 0x75, 0x6c, /*  For Mul */
0x74, 0x69, 0x70, 0x6c, 0x65, 0x20, 0x50, 0x61, /* tiple Pa */
0x63, 0x6b, 0x65, 0x74, 0x73, 0x05, 0x5f, 0x68, /* ckets._h */
0x74, 0x74, 0x70, 0x04, 0x5f, 0x74, 0x63, 0x70, /* ttp._tcp */
0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x00, 0x05, /* .local.. */
0x5f, 0x68, 0x74, 0x74, 0x70, 0x04, 0x5f, 0x74, /* _http._t */
0x63, 0x70, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, /* cp.local */
0x00, 0x00, 0x0c, 0x00, 0x01, 0x00, 0x00, 0x11, /* ........ */
0x93, 0x00, 0x41, 0x2e, 0x31, 0x31, 0x20, 0x53, /* ..A.11 S */
0x69, 0x6d, 0x70, 0x6c, 0x65, 0x20, 0x57, 0x65, /* imple We */
0x62, 0x20, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, /* b Server */
0x20, 0x54, 0x65, 0x73, 0x74, 0x20, 0x46, 0x6f, /*  Test Fo */
0x72, 0x20, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, /* r Multip */
0x6c, 0x65, 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, /* le Packe */
0x74, 0x73, 0x05, 0x5f, 0x68, 0x74, 0x74, 0x70, /* ts._http */
0x04, 0x5f, 0x74, 0x63, 0x70, 0x05, 0x6c, 0x6f, /* ._tcp.lo */
0x63, 0x61, 0x6c, 0x00, 0x05, 0x5f, 0x68, 0x74, /* cal.._ht */
0x74, 0x70, 0x04, 0x5f, 0x74, 0x63, 0x70, 0x05, /* tp._tcp. */
0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x00, 0x00, 0x0c, /* local... */
0x00, 0x01, 0x00, 0x00, 0x11, 0x93, 0x00, 0x41, /* .......A */
0x2e, 0x30, 0x39, 0x20, 0x53, 0x69, 0x6d, 0x70, /* .09 Simp */
0x6c, 0x65, 0x20, 0x57, 0x65, 0x62, 0x20, 0x53, /* le Web S */
0x65, 0x72, 0x76, 0x65, 0x72, 0x20, 0x54, 0x65, /* erver Te */
0x73, 0x74, 0x20, 0x46, 0x6f, 0x72, 0x20, 0x4d, /* st For M */
0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x20, /* ultiple  */
0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x05, /* Packets. */
0x5f, 0x68, 0x74, 0x74, 0x70, 0x04, 0x5f, 0x74, /* _http._t */
0x63, 0x70, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, /* cp.local */
0x00, 0x05, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x04, /* .._http. */
0x5f, 0x74, 0x63, 0x70, 0x05, 0x6c, 0x6f, 0x63, /* _tcp.loc */
0x61, 0x6c, 0x00, 0x00, 0x0c, 0x00, 0x01, 0x00, /* al...... */
0x00, 0x11, 0x93, 0x00, 0x41, 0x2e, 0x31, 0x30, /* ....A.10 */
0x20, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x20, /*  Simple  */
0x57, 0x65, 0x62, 0x20, 0x53, 0x65, 0x72, 0x76, /* Web Serv */
0x65, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x20, /* er Test  */
0x46, 0x6f, 0x72, 0x20, 0x4d, 0x75, 0x6c, 0x74, /* For Mult */
0x69, 0x70, 0x6c, 0x65, 0x20, 0x50, 0x61, 0x63, /* iple Pac */
0x6b, 0x65, 0x74, 0x73, 0x05, 0x5f, 0x68, 0x74, /* kets._ht */
0x74, 0x70, 0x04, 0x5f, 0x74, 0x63, 0x70, 0x05, /* tp._tcp. */
0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x00, 0x05, 0x5f, /* local.._ */
0x68, 0x74, 0x74, 0x70, 0x04, 0x5f, 0x74, 0x63, /* http._tc */
0x70, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x00, /* p.local. */
0x00, 0x0c, 0x00, 0x01, 0x00, 0x00, 0x11, 0x93, /* ........ */
0x00, 0x41, 0x2e, 0x30, 0x37, 0x20, 0x53, 0x69, /* .A.07 Si */
0x6d, 0x70, 0x6c, 0x65, 0x20, 0x57, 0x65, 0x62, /* mple Web */
0x20, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, /*  Server  */
0x54, 0x65, 0x73, 0x74, 0x20, 0x46, 0x6f, 0x72, /* Test For */
0x20, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, /*  Multipl */
0x65, 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, /* e Packet */
0x73, 0x05, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x04, /* s._http. */
0x5f, 0x74, 0x63, 0x70, 0x05, 0x6c, 0x6f, 0x63, /* _tcp.loc */
0x61, 0x6c, 0x00, 0x05, 0x5f, 0x68, 0x74, 0x74, /* al.._htt */
0x70, 0x04, 0x5f, 0x74, 0x63, 0x70, 0x05, 0x6c, /* p._tcp.l */
0x6f, 0x63, 0x61, 0x6c, 0x00, 0x00, 0x0c, 0x00, /* ocal.... */
0x01, 0x00, 0x00, 0x11, 0x93, 0x00, 0x41, 0x2e, /* ......A. */
0x30, 0x35, 0x20, 0x53, 0x69, 0x6d, 0x70, 0x6c, /* 05 Simpl */
0x65, 0x20, 0x57, 0x65, 0x62, 0x20, 0x53, 0x65, /* e Web Se */
0x72, 0x76, 0x65, 0x72, 0x20, 0x54, 0x65, 0x73, /* rver Tes */
0x74, 0x20, 0x46, 0x6f, 0x72, 0x20, 0x4d, 0x75, /* t For Mu */
0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x20, 0x50, /* ltiple P */
0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x05, 0x5f, /* ackets._ */
0x68, 0x74, 0x74, 0x70, 0x04, 0x5f, 0x74, 0x63, /* http._tc */
0x70, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x00, /* p.local. */
0x05, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x04, 0x5f, /* ._http._ */
0x74, 0x63, 0x70, 0x05, 0x6c, 0x6f, 0x63, 0x61, /* tcp.loca */
0x6c, 0x00, 0x00, 0x0c, 0x00, 0x01, 0x00, 0x00, /* l....... */
0x11, 0x93, 0x00, 0x41, 0x2e, 0x30, 0x36, 0x20, /* ...A.06  */
0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x20, 0x57, /* Simple W */
0x65, 0x62, 0x20, 0x53, 0x65, 0x72, 0x76, 0x65, /* eb Serve */
0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x20, 0x46, /* r Test F */
0x6f, 0x72, 0x20, 0x4d, 0x75, 0x6c, 0x74, 0x69, /* or Multi */
0x70, 0x6c, 0x65, 0x20, 0x50, 0x61, 0x63, 0x6b, /* ple Pack */
0x65, 0x74, 0x73, 0x05, 0x5f, 0x68, 0x74, 0x74, /* ets._htt */
0x70, 0x04, 0x5f, 0x74, 0x63, 0x70, 0x05, 0x6c, /* p._tcp.l */
0x6f, 0x63, 0x61, 0x6c, 0x00, 0x05, 0x5f, 0x68, /* ocal.._h */
0x74, 0x74, 0x70, 0x04, 0x5f, 0x74, 0x63, 0x70, /* ttp._tcp */
0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x00, 0x00, /* .local.. */
0x0c, 0x00, 0x01, 0x00, 0x00, 0x11, 0x93, 0x00, /* ........ */
0x41, 0x2e, 0x30, 0x34, 0x20, 0x53, 0x69, 0x6d, /* A.04 Sim */
0x70, 0x6c, 0x65, 0x20, 0x57, 0x65, 0x62, 0x20, /* ple Web  */
0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, 0x54, /* Server T */
0x65, 0x73, 0x74, 0x20, 0x46, 0x6f, 0x72, 0x20, /* est For  */
0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, /* Multiple */
0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, /*  Packets */
0x05, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x04, 0x5f, /* ._http._ */
0x74, 0x63, 0x70, 0x05, 0x6c, 0x6f, 0x63, 0x61, /* tcp.loca */
0x6c, 0x00, 0x05, 0x5f, 0x68, 0x74, 0x74, 0x70, /* l.._http */
0x04, 0x5f, 0x74, 0x63, 0x70, 0x05, 0x6c, 0x6f, /* ._tcp.lo */
0x63, 0x61, 0x6c, 0x00, 0x00, 0x0c, 0x00, 0x01, /* cal..... */
0x00, 0x00, 0x11, 0x93, 0x00, 0x41, 0x2e, 0x30, /* .....A.0 */
0x32, 0x20, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, /* 2 Simple */
0x20, 0x57, 0x65, 0x62, 0x20, 0x53, 0x65, 0x72, /*  Web Ser */
0x76, 0x65, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, /* ver Test */
0x20, 0x46, 0x6f, 0x72, 0x20, 0x4d, 0x75, 0x6c, /*  For Mul */
0x74, 0x69, 0x70, 0x6c, 0x65, 0x20, 0x50, 0x61, /* tiple Pa */
0x63, 0x6b, 0x65, 0x74, 0x73, 0x05, 0x5f, 0x68, /* ckets._h */
0x74, 0x74, 0x70, 0x04, 0x5f, 0x74, 0x63, 0x70, /* ttp._tcp */
0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x00        /* .local. */
};

/* Frame (147 bytes) */
static const unsigned char pkt4[147] = {
0x01, 0x00, 0x5e, 0x00, 0x00, 0xfb, 0x00, 0x11, /* ..^..... */
0x22, 0x33, 0x44, 0x57, 0x08, 0x00, 0x45, 0x00, /* "3DW..E. */
0x00, 0x85, 0x00, 0x09, 0x40, 0x00, 0xff, 0x11, /* ....@... */
0x90, 0x21, 0x0a, 0x00, 0x00, 0x42, 0xe0, 0x00, /* .!...B.. */
0x00, 0xfb, 0x14, 0xe9, 0x14, 0xe9, 0x00, 0x71, /* .......q */
0xae, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x05, 0x5f, /* ......._ */
0x68, 0x74, 0x74, 0x70, 0x04, 0x5f, 0x74, 0x63, /* http._tc */
0x70, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x00, /* p.local. */
0x00, 0x0c, 0x00, 0x01, 0x00, 0x00, 0x11, 0x93, /* ........ */
0x00, 0x41, 0x2e, 0x30, 0x33, 0x20, 0x53, 0x69, /* .A.03 Si */
0x6d, 0x70, 0x6c, 0x65, 0x20, 0x57, 0x65, 0x62, /* mple Web */
0x20, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, /*  Server  */
0x54, 0x65, 0x73, 0x74, 0x20, 0x46, 0x6f, 0x72, /* Test For */
0x20, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, /*  Multipl */
0x65, 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, /* e Packet */
0x73, 0x05, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x04, /* s._http. */
0x5f, 0x74, 0x63, 0x70, 0x05, 0x6c, 0x6f, 0x63, /* _tcp.loc */
0x61, 0x6c, 0x00                                /* al. */
};


static MDNS_SERVICE mdns_service = {"03 Simple Web Server Test For Multiple Packets", "_http._tcp", NX_NULL, NX_NULL, 100, 0, 0, 80, NX_MDNS_RR_SET_UNIQUE, 0};

MDNS_TEST_SEQ mdns_response_with_tc[] = {
    {TITLE, "Response with TC", 16, 0},

    /* Add a service. */
    {MDNS_SERVICE_ADD, (char*)&mdns_service, 0, 0},

    {WAIT, NX_NULL, 0, 5},
    {DUMP, NX_NULL, 0, 0},

    /* Inject a query packet. */
    {INJECT, (char*)&pkt1[0], sizeof(pkt1), 1},

    /* Check the response packet. */
    {MDNS_CHECK_DATA_V4, (char*)&pkt2[0], sizeof(pkt2), 1},

    /* Inject a query packet with TC bit set. */
    {INJECT, (char*)&pkt3[0], sizeof(pkt3), 1},

    /* Wait 390ms. */
    {MDNS_WAIT_TICK, NX_NULL, NX_NULL, 39},

    /* Inject the known answer packet. */
    {INJECT, (char*)&pkt4[0], sizeof(pkt4), 1},

    /* Check no response packet. */
    {MDNS_REJECT_DATA_V4, (char*)&pkt2[0], sizeof(pkt2), 3},
};

int mdns_response_with_tc_size = sizeof(mdns_response_with_tc) / sizeof(MDNS_TEST_SEQ);

#endif /* __PRODUCT_NETXDUO__  */

